# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'src/ui/mpd_client.ui'
#
# Created: Tue Dec 14 19:07:58 2010
#      by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.setEnabled(True)
        MainWindow.resize(854, 722)
        MainWindow.setDockOptions(QtGui.QMainWindow.AllowNestedDocks|QtGui.QMainWindow.AllowTabbedDocks|QtGui.QMainWindow.AnimatedDocks)
        self.centralWidget = QtGui.QWidget(MainWindow)
        self.centralWidget.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralWidget.sizePolicy().hasHeightForWidth())
        self.centralWidget.setSizePolicy(sizePolicy)
        self.centralWidget.setMaximumSize(QtCore.QSize(0, 0))
        self.centralWidget.setObjectName("centralWidget")
        MainWindow.setCentralWidget(self.centralWidget)
        self.collection_widget = QtGui.QDockWidget(MainWindow)
        self.collection_widget.setFeatures(QtGui.QDockWidget.DockWidgetClosable|QtGui.QDockWidget.DockWidgetMovable)
        self.collection_widget.setAllowedAreas(QtCore.Qt.AllDockWidgetAreas)
        self.collection_widget.setObjectName("collection_widget")
        self.collection_widget_contents = QtGui.QWidget()
        self.collection_widget_contents.setObjectName("collection_widget_contents")
        self.verticalLayout = QtGui.QVBoxLayout(self.collection_widget_contents)
        self.verticalLayout.setObjectName("verticalLayout")
        self.buttons_layout = QtGui.QHBoxLayout()
        self.buttons_layout.setObjectName("buttons_layout")
        spacerItem = QtGui.QSpacerItem(40, 32, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.buttons_layout.addItem(spacerItem)
        self.search_button = QtGui.QPushButton(self.collection_widget_contents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.search_button.sizePolicy().hasHeightForWidth())
        self.search_button.setSizePolicy(sizePolicy)
        self.search_button.setMinimumSize(QtCore.QSize(24, 24))
        self.search_button.setMaximumSize(QtCore.QSize(24, 24))
        self.search_button.setText("")
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/find.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.search_button.setIcon(icon)
        self.search_button.setIconSize(QtCore.QSize(16, 16))
        self.search_button.setCheckable(True)
        self.search_button.setFlat(True)
        self.search_button.setObjectName("search_button")
        self.buttons_layout.addWidget(self.search_button)
        self.conf_button = QtGui.QPushButton(self.collection_widget_contents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.conf_button.sizePolicy().hasHeightForWidth())
        self.conf_button.setSizePolicy(sizePolicy)
        self.conf_button.setMinimumSize(QtCore.QSize(24, 24))
        self.conf_button.setMaximumSize(QtCore.QSize(24, 24))
        self.conf_button.setText("")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/images/configure.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.conf_button.setIcon(icon1)
        self.conf_button.setIconSize(QtCore.QSize(16, 16))
        self.conf_button.setCheckable(True)
        self.conf_button.setFlat(True)
        self.conf_button.setObjectName("conf_button")
        self.buttons_layout.addWidget(self.conf_button)
        self.verticalLayout.addLayout(self.buttons_layout)
        self.collection_setting_layout = QtGui.QHBoxLayout()
        self.collection_setting_layout.setObjectName("collection_setting_layout")
        self.collection_settings_frame = QtGui.QFrame(self.collection_widget_contents)
        self.collection_settings_frame.setEnabled(True)
        self.collection_settings_frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.collection_settings_frame.setFrameShadow(QtGui.QFrame.Raised)
        self.collection_settings_frame.setObjectName("collection_settings_frame")
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.collection_settings_frame)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.level_layout = QtGui.QVBoxLayout()
        self.level_layout.setObjectName("level_layout")
        self.label = QtGui.QLabel(self.collection_settings_frame)
        self.label.setObjectName("label")
        self.level_layout.addWidget(self.label)
        self.collection_level_0_combobox = QtGui.QComboBox(self.collection_settings_frame)
        self.collection_level_0_combobox.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically)
        self.collection_level_0_combobox.setObjectName("collection_level_0_combobox")
        self.level_layout.addWidget(self.collection_level_0_combobox)
        self.collection_level_1_combobox = QtGui.QComboBox(self.collection_settings_frame)
        self.collection_level_1_combobox.setEnabled(True)
        self.collection_level_1_combobox.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically)
        self.collection_level_1_combobox.setObjectName("collection_level_1_combobox")
        self.level_layout.addWidget(self.collection_level_1_combobox)
        self.collection_level_2_combobox = QtGui.QComboBox(self.collection_settings_frame)
        self.collection_level_2_combobox.setEnabled(True)
        self.collection_level_2_combobox.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically)
        self.collection_level_2_combobox.setObjectName("collection_level_2_combobox")
        self.level_layout.addWidget(self.collection_level_2_combobox)
        self.checkBox = QtGui.QCheckBox(self.collection_settings_frame)
        self.checkBox.setObjectName("checkBox")
        self.level_layout.addWidget(self.checkBox)
        self.horizontalLayout_2.addLayout(self.level_layout)
        self.horizontalLayout_4.addLayout(self.horizontalLayout_2)
        self.collection_setting_layout.addWidget(self.collection_settings_frame)
        self.verticalLayout.addLayout(self.collection_setting_layout)
        self.collection_layout = QtGui.QVBoxLayout()
        self.collection_layout.setObjectName("collection_layout")
        self.collection_view = CollectionTreeView(self.collection_widget_contents)
        self.collection_view.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.collection_view.setDragEnabled(True)
        self.collection_view.setDragDropMode(QtGui.QAbstractItemView.DragOnly)
        self.collection_view.setAlternatingRowColors(True)
        self.collection_view.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.collection_view.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.collection_view.setRootIsDecorated(True)
        self.collection_view.setUniformRowHeights(True)
        self.collection_view.setSortingEnabled(True)
        self.collection_view.setAnimated(True)
        self.collection_view.setObjectName("collection_view")
        self.collection_layout.addWidget(self.collection_view)
        self.verticalLayout.addLayout(self.collection_layout)
        self.search_layout = QtGui.QHBoxLayout()
        self.search_layout.setObjectName("search_layout")
        self.collection_search_frame = QtGui.QFrame(self.collection_widget_contents)
        self.collection_search_frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.collection_search_frame.setFrameShadow(QtGui.QFrame.Raised)
        self.collection_search_frame.setObjectName("collection_search_frame")
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.collection_search_frame)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.search_col_clear_button = QtGui.QPushButton(self.collection_search_frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.search_col_clear_button.sizePolicy().hasHeightForWidth())
        self.search_col_clear_button.setSizePolicy(sizePolicy)
        self.search_col_clear_button.setMinimumSize(QtCore.QSize(24, 24))
        self.search_col_clear_button.setMaximumSize(QtCore.QSize(24, 24))
        self.search_col_clear_button.setText("")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/images/edit_clear.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.search_col_clear_button.setIcon(icon2)
        self.search_col_clear_button.setFlat(True)
        self.search_col_clear_button.setObjectName("search_col_clear_button")
        self.horizontalLayout_6.addWidget(self.search_col_clear_button)
        self.collection_search_lineText = QtGui.QLineEdit(self.collection_search_frame)
        self.collection_search_lineText.setText("")
        self.collection_search_lineText.setObjectName("collection_search_lineText")
        self.horizontalLayout_6.addWidget(self.collection_search_lineText)
        self.search_layout.addWidget(self.collection_search_frame)
        self.verticalLayout.addLayout(self.search_layout)
        self.collection_widget.setWidget(self.collection_widget_contents)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.collection_widget)
        self.menuBar = QtGui.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 854, 19))
        self.menuBar.setObjectName("menuBar")
        self.menuServer = QtGui.QMenu(self.menuBar)
        self.menuServer.setObjectName("menuServer")
        MainWindow.setMenuBar(self.menuBar)
        self.nowplaying_widget = QtGui.QDockWidget(MainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.nowplaying_widget.sizePolicy().hasHeightForWidth())
        self.nowplaying_widget.setSizePolicy(sizePolicy)
        self.nowplaying_widget.setMinimumSize(QtCore.QSize(320, 110))
        self.nowplaying_widget.setFeatures(QtGui.QDockWidget.DockWidgetClosable|QtGui.QDockWidget.DockWidgetMovable)
        self.nowplaying_widget.setObjectName("nowplaying_widget")
        self.nowplaying_widget_contents = QtGui.QWidget()
        self.nowplaying_widget_contents.setObjectName("nowplaying_widget_contents")
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.nowplaying_widget_contents)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.songlabel_view = SongLabelView(self.nowplaying_widget_contents)
        self.songlabel_view.setTextFormat(QtCore.Qt.RichText)
        self.songlabel_view.setScaledContents(True)
        self.songlabel_view.setWordWrap(True)
        self.songlabel_view.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.songlabel_view.setObjectName("songlabel_view")
        self.verticalLayout_5.addWidget(self.songlabel_view)
        self.nowplaying_widget.setWidget(self.nowplaying_widget_contents)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(4), self.nowplaying_widget)
        self.commands_widget = QtGui.QDockWidget(MainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.commands_widget.sizePolicy().hasHeightForWidth())
        self.commands_widget.setSizePolicy(sizePolicy)
        self.commands_widget.setMaximumSize(QtCore.QSize(524287, 150))
        self.commands_widget.setFloating(False)
        self.commands_widget.setFeatures(QtGui.QDockWidget.DockWidgetClosable|QtGui.QDockWidget.DockWidgetMovable)
        self.commands_widget.setObjectName("commands_widget")
        self.commands_widget_contents = QtGui.QWidget()
        self.commands_widget_contents.setObjectName("commands_widget_contents")
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.commands_widget_contents)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.prev_button = Button(self.commands_widget_contents)
        self.prev_button.setMinimumSize(QtCore.QSize(32, 32))
        self.prev_button.setMaximumSize(QtCore.QSize(32, 32))
        self.prev_button.setText("")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/images/prev.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.prev_button.setIcon(icon3)
        self.prev_button.setIconSize(QtCore.QSize(20, 20))
        self.prev_button.setFlat(True)
        self.prev_button.setObjectName("prev_button")
        self.horizontalLayout.addWidget(self.prev_button)
        self.play_button = PlayButton(self.commands_widget_contents)
        self.play_button.setMinimumSize(QtCore.QSize(32, 32))
        self.play_button.setMaximumSize(QtCore.QSize(32, 32))
        self.play_button.setText("")
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/images/play.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.play_button.setIcon(icon4)
        self.play_button.setIconSize(QtCore.QSize(20, 20))
        self.play_button.setFlat(True)
        self.play_button.setObjectName("play_button")
        self.horizontalLayout.addWidget(self.play_button)
        self.next_button = Button(self.commands_widget_contents)
        self.next_button.setMinimumSize(QtCore.QSize(32, 32))
        self.next_button.setMaximumSize(QtCore.QSize(32, 32))
        self.next_button.setText("")
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/images/next.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.next_button.setIcon(icon5)
        self.next_button.setIconSize(QtCore.QSize(20, 20))
        self.next_button.setFlat(True)
        self.next_button.setObjectName("next_button")
        self.horizontalLayout.addWidget(self.next_button)
        self.stop_button = Button(self.commands_widget_contents)
        self.stop_button.setMinimumSize(QtCore.QSize(32, 32))
        self.stop_button.setMaximumSize(QtCore.QSize(32, 32))
        self.stop_button.setText("")
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/images/stop.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.stop_button.setIcon(icon6)
        self.stop_button.setIconSize(QtCore.QSize(20, 20))
        self.stop_button.setFlat(True)
        self.stop_button.setObjectName("stop_button")
        self.horizontalLayout.addWidget(self.stop_button)
        self.horizontalLayout_3.addLayout(self.horizontalLayout)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.verticalLayout_4.addLayout(self.horizontalLayout_3)
        self.volume_layout = QtGui.QHBoxLayout()
        self.volume_layout.setObjectName("volume_layout")
        self.volume_button = VolumeButton(self.commands_widget_contents)
        self.volume_button.setMinimumSize(QtCore.QSize(32, 32))
        self.volume_button.setMaximumSize(QtCore.QSize(32, 32))
        self.volume_button.setText("")
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/images/speaker_on.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.volume_button.setIcon(icon7)
        self.volume_button.setIconSize(QtCore.QSize(20, 20))
        self.volume_button.setFlat(True)
        self.volume_button.setObjectName("volume_button")
        self.volume_layout.addWidget(self.volume_button)
        self.volume_bar = VolumeBar(self.commands_widget_contents)
        self.volume_bar.setMinimumSize(QtCore.QSize(0, 15))
        self.volume_bar.setMaximumSize(QtCore.QSize(16777215, 15))
        self.volume_bar.setProperty("value", 0)
        self.volume_bar.setTextVisible(True)
        self.volume_bar.setObjectName("volume_bar")
        self.volume_layout.addWidget(self.volume_bar)
        self.verticalLayout_4.addLayout(self.volume_layout)
        self.progress_bar_layout = QtGui.QHBoxLayout()
        self.progress_bar_layout.setObjectName("progress_bar_layout")
        self.progress_bar = ProgressBar(self.commands_widget_contents)
        self.progress_bar.setMinimumSize(QtCore.QSize(0, 15))
        self.progress_bar.setMaximumSize(QtCore.QSize(16777215, 15))
        self.progress_bar.setProperty("value", 0)
        self.progress_bar.setTextVisible(False)
        self.progress_bar.setObjectName("progress_bar")
        self.progress_bar_layout.addWidget(self.progress_bar)
        self.verticalLayout_4.addLayout(self.progress_bar_layout)
        self.verticalLayout_6.addLayout(self.verticalLayout_4)
        self.commands_widget.setWidget(self.commands_widget_contents)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.commands_widget)
        self.statistics_widget = QtGui.QDockWidget(MainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(110)
        sizePolicy.setHeightForWidth(self.statistics_widget.sizePolicy().hasHeightForWidth())
        self.statistics_widget.setSizePolicy(sizePolicy)
        self.statistics_widget.setMinimumSize(QtCore.QSize(350, 110))
        self.statistics_widget.setFeatures(QtGui.QDockWidget.DockWidgetClosable|QtGui.QDockWidget.DockWidgetMovable)
        self.statistics_widget.setObjectName("statistics_widget")
        self.statistics_widget_contents = QtGui.QWidget()
        self.statistics_widget_contents.setObjectName("statistics_widget_contents")
        self.statistics_widget.setWidget(self.statistics_widget_contents)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(4), self.statistics_widget)
        self.pl_widget = QtGui.QDockWidget(MainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pl_widget.sizePolicy().hasHeightForWidth())
        self.pl_widget.setSizePolicy(sizePolicy)
        self.pl_widget.setFeatures(QtGui.QDockWidget.DockWidgetClosable|QtGui.QDockWidget.DockWidgetMovable)
        self.pl_widget.setObjectName("pl_widget")
        self.pl_widget_contents = QtGui.QWidget()
        self.pl_widget_contents.setObjectName("pl_widget_contents")
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.pl_widget_contents)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.open_pl_button = QtGui.QPushButton(self.pl_widget_contents)
        self.open_pl_button.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.open_pl_button.sizePolicy().hasHeightForWidth())
        self.open_pl_button.setSizePolicy(sizePolicy)
        self.open_pl_button.setMinimumSize(QtCore.QSize(24, 24))
        self.open_pl_button.setMaximumSize(QtCore.QSize(24, 24))
        font = QtGui.QFont()
        self.open_pl_button.setFont(font)
        self.open_pl_button.setText("")
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/images/open.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.open_pl_button.setIcon(icon8)
        self.open_pl_button.setIconSize(QtCore.QSize(16, 16))
        self.open_pl_button.setFlat(True)
        self.open_pl_button.setObjectName("open_pl_button")
        self.horizontalLayout_8.addWidget(self.open_pl_button)
        self.save_pl_button = QtGui.QPushButton(self.pl_widget_contents)
        self.save_pl_button.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.save_pl_button.sizePolicy().hasHeightForWidth())
        self.save_pl_button.setSizePolicy(sizePolicy)
        self.save_pl_button.setMinimumSize(QtCore.QSize(24, 24))
        self.save_pl_button.setMaximumSize(QtCore.QSize(24, 24))
        font = QtGui.QFont()
        self.save_pl_button.setFont(font)
        self.save_pl_button.setText("")
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(":/images/save.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.save_pl_button.setIcon(icon9)
        self.save_pl_button.setIconSize(QtCore.QSize(16, 16))
        self.save_pl_button.setFlat(True)
        self.save_pl_button.setObjectName("save_pl_button")
        self.horizontalLayout_8.addWidget(self.save_pl_button)
        self.line_2 = QtGui.QFrame(self.pl_widget_contents)
        self.line_2.setFrameShape(QtGui.QFrame.VLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.horizontalLayout_8.addWidget(self.line_2)
        self.undo_pl_button = QtGui.QPushButton(self.pl_widget_contents)
        self.undo_pl_button.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.undo_pl_button.sizePolicy().hasHeightForWidth())
        self.undo_pl_button.setSizePolicy(sizePolicy)
        self.undo_pl_button.setMinimumSize(QtCore.QSize(24, 24))
        self.undo_pl_button.setMaximumSize(QtCore.QSize(24, 24))
        self.undo_pl_button.setText("")
        icon10 = QtGui.QIcon()
        icon10.addPixmap(QtGui.QPixmap(":/images/edit-undo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.undo_pl_button.setIcon(icon10)
        self.undo_pl_button.setIconSize(QtCore.QSize(20, 20))
        self.undo_pl_button.setFlat(True)
        self.undo_pl_button.setObjectName("undo_pl_button")
        self.horizontalLayout_8.addWidget(self.undo_pl_button)
        self.redo_pl_button = QtGui.QPushButton(self.pl_widget_contents)
        self.redo_pl_button.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.redo_pl_button.sizePolicy().hasHeightForWidth())
        self.redo_pl_button.setSizePolicy(sizePolicy)
        self.redo_pl_button.setMinimumSize(QtCore.QSize(24, 24))
        self.redo_pl_button.setMaximumSize(QtCore.QSize(24, 24))
        self.redo_pl_button.setText("")
        icon11 = QtGui.QIcon()
        icon11.addPixmap(QtGui.QPixmap(":/images/edit-redo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.redo_pl_button.setIcon(icon11)
        self.redo_pl_button.setIconSize(QtCore.QSize(20, 20))
        self.redo_pl_button.setFlat(True)
        self.redo_pl_button.setObjectName("redo_pl_button")
        self.horizontalLayout_8.addWidget(self.redo_pl_button)
        self.line_3 = QtGui.QFrame(self.pl_widget_contents)
        self.line_3.setFrameShape(QtGui.QFrame.VLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.horizontalLayout_8.addWidget(self.line_3)
        self.pl_filter_clear_button = QtGui.QPushButton(self.pl_widget_contents)
        self.pl_filter_clear_button.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pl_filter_clear_button.sizePolicy().hasHeightForWidth())
        self.pl_filter_clear_button.setSizePolicy(sizePolicy)
        self.pl_filter_clear_button.setMinimumSize(QtCore.QSize(24, 24))
        self.pl_filter_clear_button.setMaximumSize(QtCore.QSize(24, 24))
        self.pl_filter_clear_button.setText("")
        self.pl_filter_clear_button.setIcon(icon2)
        self.pl_filter_clear_button.setIconSize(QtCore.QSize(16, 16))
        self.pl_filter_clear_button.setFlat(True)
        self.pl_filter_clear_button.setObjectName("pl_filter_clear_button")
        self.horizontalLayout_8.addWidget(self.pl_filter_clear_button)
        self.pl_filter_lineText = QtGui.QLineEdit(self.pl_widget_contents)
        self.pl_filter_lineText.setEnabled(False)
        self.pl_filter_lineText.setText("")
        self.pl_filter_lineText.setObjectName("pl_filter_lineText")
        self.horizontalLayout_8.addWidget(self.pl_filter_lineText)
        self.verticalLayout_3.addLayout(self.horizontalLayout_8)
        self.pl_tree_view = PlaylistTreeView(self.pl_widget_contents)
        self.pl_tree_view.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.pl_tree_view.setProperty("showDropIndicator", True)
        self.pl_tree_view.setDragEnabled(True)
        self.pl_tree_view.setDragDropMode(QtGui.QAbstractItemView.DragDrop)
        self.pl_tree_view.setAlternatingRowColors(True)
        self.pl_tree_view.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.pl_tree_view.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.pl_tree_view.setRootIsDecorated(False)
        self.pl_tree_view.setUniformRowHeights(True)
        self.pl_tree_view.setItemsExpandable(False)
        self.pl_tree_view.setSortingEnabled(False)
        self.pl_tree_view.setAnimated(False)
        self.pl_tree_view.setExpandsOnDoubleClick(False)
        self.pl_tree_view.setObjectName("pl_tree_view")
        self.verticalLayout_3.addWidget(self.pl_tree_view)
        self.buttons_playlist_layout = QtGui.QHBoxLayout()
        self.buttons_playlist_layout.setObjectName("buttons_playlist_layout")
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.buttons_playlist_layout.addItem(spacerItem2)
        self.button_random = ShuffleButton(self.pl_widget_contents)
        self.button_random.setEnabled(False)
        self.button_random.setMinimumSize(QtCore.QSize(32, 32))
        self.button_random.setMaximumSize(QtCore.QSize(32, 32))
        self.button_random.setText("")
        icon12 = QtGui.QIcon()
        icon12.addPixmap(QtGui.QPixmap(":/images/casuale.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_random.setIcon(icon12)
        self.button_random.setCheckable(True)
        self.button_random.setFlat(True)
        self.button_random.setObjectName("button_random")
        self.buttons_playlist_layout.addWidget(self.button_random)
        self.combo_repeat = RepeatComboBox(self.pl_widget_contents)
        self.combo_repeat.setEnabled(False)
        self.combo_repeat.setMaxVisibleItems(3)
        self.combo_repeat.setObjectName("combo_repeat")
        icon13 = QtGui.QIcon()
        icon13.addPixmap(QtGui.QPixmap(":/images/normal.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.combo_repeat.addItem(icon13, "")
        icon14 = QtGui.QIcon()
        icon14.addPixmap(QtGui.QPixmap(":/images/repeat.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.combo_repeat.addItem(icon14, "")
        self.combo_repeat.addItem(icon14, "")
        self.buttons_playlist_layout.addWidget(self.combo_repeat)
        self.verticalLayout_3.addLayout(self.buttons_playlist_layout)
        self.pl_widget.setWidget(self.pl_widget_contents)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(2), self.pl_widget)
        self.cover_widget = QtGui.QDockWidget(MainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cover_widget.sizePolicy().hasHeightForWidth())
        self.cover_widget.setSizePolicy(sizePolicy)
        self.cover_widget.setMinimumSize(QtCore.QSize(178, 200))
        self.cover_widget.setFeatures(QtGui.QDockWidget.DockWidgetClosable|QtGui.QDockWidget.DockWidgetMovable)
        self.cover_widget.setAllowedAreas(QtCore.Qt.AllDockWidgetAreas)
        self.cover_widget.setObjectName("cover_widget")
        self.cover_widget_contents = QtGui.QWidget()
        self.cover_widget_contents.setObjectName("cover_widget_contents")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.cover_widget_contents)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.cover_frame = QtGui.QFrame(self.cover_widget_contents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cover_frame.sizePolicy().hasHeightForWidth())
        self.cover_frame.setSizePolicy(sizePolicy)
        self.cover_frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.cover_frame.setFrameShadow(QtGui.QFrame.Raised)
        self.cover_frame.setLineWidth(1)
        self.cover_frame.setMidLineWidth(0)
        self.cover_frame.setObjectName("cover_frame")
        self.horizontalLayout_7 = QtGui.QHBoxLayout(self.cover_frame)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.label_2 = CoverLabelView(self.cover_frame)
        self.label_2.setText("")
        self.label_2.setPixmap(QtGui.QPixmap(":/images/record.png"))
        self.label_2.setScaledContents(True)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_7.addWidget(self.label_2)
        self.verticalLayout_2.addWidget(self.cover_frame)
        self.cover_widget.setWidget(self.cover_widget_contents)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(4), self.cover_widget)
        self.actionConnect = QtGui.QAction(MainWindow)
        self.actionConnect.setObjectName("actionConnect")
        self.menuServer.addAction(self.actionConnect)
        self.menuBar.addAction(self.menuServer.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QObject.connect(self.search_button, QtCore.SIGNAL("toggled(bool)"), self.collection_search_frame.setVisible)
        QtCore.QObject.connect(self.pl_filter_clear_button, QtCore.SIGNAL("clicked()"), self.pl_filter_lineText.clear)
        QtCore.QObject.connect(self.search_col_clear_button, QtCore.SIGNAL("clicked()"), self.collection_search_lineText.clear)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.collection_widget.setToolTip(QtGui.QApplication.translate("MainWindow", "Collection Widget: Choose What You Want Listen", None, QtGui.QApplication.UnicodeUTF8))
        self.collection_widget.setWindowTitle(QtGui.QApplication.translate("MainWindow", "collection", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MainWindow", "Levels", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox.setText(QtGui.QApplication.translate("MainWindow", "Show Cover", None, QtGui.QApplication.UnicodeUTF8))
        self.menuServer.setTitle(QtGui.QApplication.translate("MainWindow", "Server", None, QtGui.QApplication.UnicodeUTF8))
        self.nowplaying_widget.setToolTip(QtGui.QApplication.translate("MainWindow", "Now Playing Widget: Show the Current Song\'s Information", None, QtGui.QApplication.UnicodeUTF8))
        self.nowplaying_widget.setWindowTitle(QtGui.QApplication.translate("MainWindow", "now playing", None, QtGui.QApplication.UnicodeUTF8))
        self.commands_widget.setToolTip(QtGui.QApplication.translate("MainWindow", "Player Widget: Comand the Playback", None, QtGui.QApplication.UnicodeUTF8))
        self.commands_widget.setWindowTitle(QtGui.QApplication.translate("MainWindow", "commands", None, QtGui.QApplication.UnicodeUTF8))
        self.statistics_widget.setWindowTitle(QtGui.QApplication.translate("MainWindow", "stats", None, QtGui.QApplication.UnicodeUTF8))
        self.pl_widget.setWindowTitle(QtGui.QApplication.translate("MainWindow", "playlist", None, QtGui.QApplication.UnicodeUTF8))
        self.pl_filter_lineText.setToolTip(QtGui.QApplication.translate("MainWindow", "search playlist", None, QtGui.QApplication.UnicodeUTF8))
        self.button_random.setToolTip(QtGui.QApplication.translate("MainWindow", "Repeat", None, QtGui.QApplication.UnicodeUTF8))
        self.combo_repeat.setToolTip(QtGui.QApplication.translate("MainWindow", "Avanzamento", None, QtGui.QApplication.UnicodeUTF8))
        self.combo_repeat.setItemText(0, QtGui.QApplication.translate("MainWindow", "normal", None, QtGui.QApplication.UnicodeUTF8))
        self.combo_repeat.setItemText(1, QtGui.QApplication.translate("MainWindow", "song", None, QtGui.QApplication.UnicodeUTF8))
        self.combo_repeat.setItemText(2, QtGui.QApplication.translate("MainWindow", "playlist", None, QtGui.QApplication.UnicodeUTF8))
        self.cover_widget.setToolTip(QtGui.QApplication.translate("MainWindow", "Cover Widget", None, QtGui.QApplication.UnicodeUTF8))
        self.cover_widget.setWindowTitle(QtGui.QApplication.translate("MainWindow", "cover", None, QtGui.QApplication.UnicodeUTF8))
        self.actionConnect.setText(QtGui.QApplication.translate("MainWindow", "Connect", None, QtGui.QApplication.UnicodeUTF8))

from PlayerView import PlayButton, Button, ProgressBar, VolumeButton, VolumeBar
from PlayerConfigView import ShuffleButton, RepeatComboBox
from SongLabelView import SongLabelView
from CoverLabelView import CoverLabelView
from CollectionTreeView import CollectionTreeView
from PlaylistTreeView import PlaylistTreeView
import icons_rc
